some styling and javascript changes