added node-js class