refactor jquery into local copy
attempts to replace chat box with custom box with custom events