Update scripts.js

added email field