add bootstrap shim for require

it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
Merge pull request #6190 from minrk/bootstrap-shim

add bootstrap shim for require