Everything posting to chat should now be using the postMessage function, which means that it will be far easier to modify the script for any future api changes, and any bugs will be easier to find and fix.