Move style to js