Fixing CSSEvents logic to prevent a race condition of calling it before DOM ready.
Optimizing Bootstrap.Popup's checkAnimate method; only calling it once.
Revert "Updating Bootstrap.Popup's logic for .modal-backdrop elements; those are deprecated in BS 3.0"

This reverts commit d43d6eb46a244ade009bd07b585d92c1b59e0ace.