Nodejs class setup, take2