client javascript and css fixes