update style, js