refactor for bootstrap 3 release