Fix undefined jquery error

We use a shim in order to prevent jquery not defined errors