Hello,
The issue you are having is not related to AWS or Wordpress.
Storyline stores all javascript triggers in a single file, so an error in any one of them breaks the rest of the javascript triggers. In your case, the trigger containing the text "Send the data to the Google Apps Script Web App" is what's breaking everything. The URL needs to be in quotes and that line needs to end with a semicolon.
Once you fix that, the rest of the triggers should then work as well (provided there are no other mistakes elsewhere in the code).