Install node.js and npm Install browserify with npm install --global browserify Run npm install in this directory Run browserify browser.js -o bundle.js to build Host index.html, bundle.js, and toggleswitch.xml on a webserver somewhere and visit index.html