Faster addClass and removeClass