Update website survey, js function checkEmail