RequireJS 'invalid require call' error #requirejs#javascript