Javascript Validate Text Input Onchange Javascript Checkbox Checked