remove expensive clone function and unused css.stringify