common.checkbox() alternative not working bug

In this snippet

http://webix.com/snippet/ce394ea0

I just dont use the common.checkbox() but directly the HTML code that produces

but then the checkbox not working right.

The common.checkbox() as it is is not flexible because we should be able to add value and attribute there in the input

As solution I posted at http://forum.webix.com/discussion/30330/solved-common-checkbox-alternative-with-value-and-attribute#latest