Removed unneeded code from notifications.js