Fix the bug in v3.0 of bootstrap.now it works on both version(3.0/2.3.2).

The HTML structs has been changed in BS3.