Added check to see if original checkbox is checked as well as keeping the check to see if the label has the checked class.

Add an extra condition to the original initialisation if, to check to see if the original checkbox is checked.

This is useful for edit forms created by frameworks or templates where checking the value before the html is rendered would be problematic or cause lots of duplicate code, it also allows adds extra portability to the code between applications.