Set Push Notification on JavaScript