When creating a toggle button, the checked & unchecked state are not allowed to change styles, also it doesn't support callbacks such as onclicked, onchecked & onunchecked. This extension makes it available by setting the options.
For more information please view my blog:
http://mvcdiary.com/projects/home/bootstrap/styled-toggle-button