Message mixer project not working properly?

See code here :

https://www.codecademy.com/workspaces/62f4fc4f16feec5ef780bd2f

The export stuff may be need to be at the end of the code instead of at the beginning.