Various fixes that shouldn't have been necessary but turned out that
they were. Notable is an update to chosen, needed to work with the new
jQuery.