Make spawning work on Windows

You can't spawn .js files directly; you have to spawn Node instead.