Forked and turned it into a jQuery plugin that turns an input[type=checkbox] into a bootstrap-toggle component