Modify to work with bootstrap 3