Tweaking the javascript of the email and name validators.

openscholar/openscholar#3192