Support bootstrap3, and keep code works with bootstrap2