Large client cleanup

This diff upgrades the embedded copy of Bootstrap and cleans up a pile of cruft from the javascript.