move css to js