upgrade bootstrap-ui and jquery, and fix some of the bugs caused by doing so