Get Input Checkbox Value Javascript Substring Email