   Messaging.registerHandler("WindowSizeChanged", function () {
        reader.resized();
    });
    Messaging.registerHandler("ChangePage", function(dir) {
        reader.moveTo({direction: dir});
    });

    reader.listen("monocle:link:external", function(event) {
        Messaging.sendMessage("ExternalLink", event.m.href.external);
        event.preventDefault();
    });
    reader.listen("monocle:jumping", function(event) {
        Messaging.sendMessage("Jumping", [reader.getPlace().getLocus(), event.