Updated for Bootstrap3 which is very different than Bootstrap2.