switch to requirejs