Update cal.js

Push notification event handling added