Fix double initialization error
Fix double initialization error

window.onpopstate fires after window.onload in Safari, but not in Chrome,
see http://jsbin.com/yasapahuba/1/edit?js,console

Closes #11

potomak/gist-txt