updated css from js