Made the new mathviewer work in math3.  Required adding a bit more bootstrap to math3.
Fixed some unintended changes, added missing custom bootstrap file.

(For the record, the bootstrap file is custom because of a fix I applied for a bug in the typeahead feature)