Added support for both  Bootstrap 2 and Bootstrap 3