moved the JS enabled CSS flag to an inline script that fires sooner.