require jQuery fix for atom-shell

Atom shell appears to blow up when jquery is added as script tag.
https://github.com/atom/atom-shell/issues/254

Use commonjs syntax to export to window