switching to requirejs