Moved removeUrlFromText into helpers.js
Fixed typo in var name.
Moved resize listener to injectChat function.
Resize overlay when button to toggle chat window is pressed.  We need to do this because no window 'resize' event is dispatched.