For instance: Is there a way to combine these two sets of code, so I can have a customized tweet box that INCLUDES the functionality of “on tweet” that alerts the user after the tweet?
Only asking in case anyone has any thoughts that can help … 
TweetBox which alerts the posted Tweet
You can listen and process the Tweet just sent by listening for the onTweet event. In this example we will log the plaintext version of the Tweet to the console and display an alert of the HTML version.