CommonJS support

As recommended here: https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js

Tested on an app I'm building with browserify.