add bootstrap3 example and fixed bugs