Expanded functionality to give focus to chat box on load.