Html Input Checkbox Set Checked Javascript Array Push At Index