fixes js error when in trying to match on an empty email value
reformat grammar
fixed #113