Bugfix checkbox in backoffice

There was a bug with checkbox in backoffice induced by PR #15 . 

jQuery val() not working properly on checkboxes caused a bug.
can be shorter with :
value = $this.is(":checked") ? 1 : 0;
or :
value = + $this.is(":checked");