Fix ignoreRequireJS

Fix the ignoreRequireJS global var in case of the variable is not define by default.