Adapted Animation function
Adapted Notifications for FireFox
Use Notification API is better than sdk