Added scripts under lib under syntax validation, fixed JSHint errors in send-email.js