code for node.js class at GA SF