fix requirejs optimization