Switched to jQuery.fn