OC-545 Fix scope for nodejs class.