enabled javascript generator to work in node js as well as regular javascript