You have been ridiculed by a RoR core team member.. that is pretty awesome.

Inorite? A Rails core developer dissing someone for gratuitious use of Node.js. Now I've seen it all.

This project https://github.com/harthur/replace is some of the least sucky code you're likely to see in a month of reading Javascript.