Make it so that push notifications don't cause syntax error when testing in a web browser