some styling and js functionality fixes