Fixes #1. I had forgotten to update the script src on index.html from email_generator to main.js