Follow up on jQuery changes

They resulted in a bunch of functionality being broken. Should
have run Travis before merging upstream