makes some changes to the styling and fixes the javascript