switched to RequireJS