Shimmed sparky.js for use with Browserify/NPM