The only thing is that in the 'onhashchange' handler, the code is not *exactly* the same, because the following https://github.com/mozilla-b2g/gaia/blob/master/apps/sms/js/message_manager.js#L220 :(