I'm worried about duplicating [the logic in `message_manager.js`](https://github.com/borjasalguero/gaia/blob/4862c5433488623ceeabc8c412abcc1f0917a0bd/apps/sms/js/message_manager.js#L213-L245). If that code changes, developers will have to remember to update this code to match. [In my version of the patch](https://bugzilla.mozilla.org/attachment.cgi?id=760596), I invoked the `hashchange` event handler directly. While this is sub-optimal (namely, the `event` object must be simulated), it doesn't introduce any maintenance concerns.