Node.JS object extender