Fixing `bootstrap` listener for `onhashchange` event