Correct Jquery registration