styling and javascript update