Fire an event if page loads with hash

Closes #37.
Rewrite addEventListener polyfill to work with elements other than document