A bunch of things, mostly javascript and supporting server fixes