Update for Bootstrap 3 compatibility with zbryikt's patch