Load bootstrap before the page-specific JS modules
Added race condition fix to admin and docs