Moved bootstrap fix

There was an issue with mathview and typeahead that I fixed by modifying the main bootstrap.js file.  This moves that change into the mathview file, leaving the main bootstrap.js file in its standard state.