refs #12 - configuring sendgrid for production
refs #26 - fixing JS error

Code correction