Convert package to Browserify, UMD functionality in index.umd.js