updated requirejs optimization endpoint