Updated inputSpec.js

Validating changes via EMAIL_REGEXP instead of the validation part of inputSpec.js