Update checked.js

Add simple support for tristate checkboxes