fixed javascript for checkboxes (onload)
marked is_diff_email[_attached] safe so it gets stored properly