Change to RequireJS/AMD loader