http://api.jquery.com/ready/ says that 

    The .ready() method can only be called on a jQuery object matching the current document, so the selector can be omitted.

so should this just be ````$(document).ready(...```` ?