Various css and javascript fixes