Tested to run fine in node v0.10.1