This is my version of the original https://github.com/jenyayel/js-widget
Using document.currentScript to provide uniq instances of a js-widget
Install npm install webpack webpack-dev-server copy-webpack-plugin --save-dev
Build ./node_modules/.bin/webpack --config webpack.config.js
Run ./node_modules/.bin/webpack-dev-server --open