Pipe your JavaScript into a browser, logging console output in Node