app.js: fixed bug with PushNotification object which is undefined on browser
app.js: fixed bug with PushNotification object which is undefined on browser

clemens-huebner/amos-ss16-proj8,clemens-huebner/amos-ss16-proj8,clemens-huebner/amos-ss16-proj8