separate CSS optimize from JS to evaluate performance