Updated JS file

updated JS file with validation for email/phone and also json request
for education levels