Updated usage of RequireJS