Fix for jQuery

Hopefully this works