Initialize globals variable for older versions of Node
Removed unused parameter of requirejs lambda