update for change to nodejs class