Switch to requirejs