Workaround for new Canvas page loading

Canvas' new page loading doesn't always have the wiki page content loaded by the time jQuery(document).ready() fires, and a lot of our javascript depends on the wiki page content being loaded by then, so I have wrapped that code in a function that waits until the wiki content div has some content before running the code.