Fixes to support Bootstrap 2.3.2 with JQuery 1.8.3