updated GSS to use built-in FOUC helper