Convert the example JS to browserify