Inject the JS after jquery instead of at the end of the list

Fixes #20