Write CSS through JavaScript