remove some requirejs code