Update notification.js

Adding spinner activity call in Javascript