Update main.js

Add the trailing slash to messageBody