I get the following error:
Error: The element selector function (usually $w) cannot be used before the page is ready