Evaluating the JS to push notifications