On the given example, can you update it with clientside .js file and js level to catch the push notifications.