AMD compatibility

This ensures that jQuery is loaded before the plugin when using e.g. require.js.

See here: https://github.com/umdjs/umd

And here: http://requirejs.org/docs/jquery.html