Support both bootstrap 2 and bootstrap 3.