Browserify your code and run it in it's own Thrust browser window.
cheesy main.js 800 600
This will browserify your js, wrap it in an html template, and then open it an a thrust browser window with width 800 and height 600.
Specifying the width and height is optional.
npm install -g seanewest/cheesy
cheesy entry.js [width] [height]
Cheesy is just a composition of browserify, jstohtml, and thrust-cat, which you can all run from the command line in a pipeline:
cat index.js | browserify - | jstohtml | thrust-cat 200 400