added checking of checkboxes with javascript by by gifts issuing