Upgrades templates to bs3.