Move Bootstrap.js tweaks to common.js