change to javascript for events view, fires init upon both ready and page:load