CJS-style JS shim with jQuery injected