use Browserify to provide a module system