* Added support for checkbox checked
* run in self executing function to avoid clashes
* style fixes