old_contents: //= require_tree .
new_contents: //= require bootstrap-transition.js
  //= require bootstrap-alert.js
  //= require bootstrap-button.js
  //= require bootstrap-carousel.js
  //= require bootstrap-collapse.js
  //= require bootstrap-dropdown.js
  //= require bootstrap-modal.js
  //= require bootstrap-tooltip.js
  //= require bootstrap-popover.js
  //= require bootstrap-scrollspy.js
  //= require bootstrap-tab.js
  //= require bootstrap-typeahead.js
  //= require_tree .
  
subject: change bootstrap javascript load order