Updated files to get Intercom working.

Had some bad code in main.js.