updated requireMod require method from requirejs to require