In the example code in README.md it has res.writeHead(200, {"Content-Type", "text/javascript"}) And it probably should be res.writeHead(200, {"Content-Type" : "text/javascript"}) unless I am missing something..