Fixing intermittent jquery missing by adding shims