Working on requirejs optimization