$.route(function(hash) {
            console.log("Router transitioned to '" + hash + "'.");
            routeSelected(hash.substring(1));
        });