Wrap in UMD (so that it supports AMD)

Roughly used template from here: https://github.com/umdjs/umd/blob/master/jqueryPlugin.js