added cs to js