Make sure only .code is selectable
Clean UI's variables by reusing inputs hash

* declare "checkboxes" variable