Make template NodeJS compatible

I know this is kind of backwards since OneJS is to port Node.js packages to the browser but OneJS is also useful in bundling packages for non-standard environments (i.e.neither Node.js nor browser) which just happens to support `module.exports`.