Fixed web.js for sendgrid