Attempt requirejs compatibility

https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js