Adding message to browser window as well as term