The node argument comes in full path with a .exe on the end. Added a bit of code after the arguments are parsed to check for it. I've used it for a day with the syntastic plug-in in VIM. Also ran the jasmine specs for the project and tried a glob on OS X. Things seem to be working.
quick fix for windows so that it looks for node.exe
using path.basename seems cleaner
fix a jshint warning concerning the parentheses