calendar initialization needs some DOM elements to be loaded, how should I accomplish it otherwise? Embed the document ready in the router?