minor changes to some pages, tidying up javascript and css