Revert "jQuery changes"

This reverts commit 12adff67fe1548cf1bd08e1060f089fe3923ffa7.