styles and javascript update