removed functions and used strings for spec injector
ignore globals in stubs.js