automate FOUC prevention tactic