LPS-44645 fix closure-compiler related issues on weblogic
LPS-44179 prevents too much flushing, weblogic does not like it
LPS-44645 SF