added event.js

hooks for rendering widgets on home page