Created by: davydotcom
Currently, if the document body is replaced via ajax style websites, there is no way to reinitialize bootstrap js. This now monitors page:load which is also used by the new Rails turbolinks gem created by @dhh.
However, this fix may apply to more than just rails 4 turbolinks but rather any ajax based javascript framework could benefit.
Support Added for Turbolinks which will become standard in rails 4: https://github.com/rails/turbolinks