Removes support for Node 0.6
Rewrite in JS with macros.