minor code cleanup
cleaned up and added a comment to chatService.js
added 'var' for clarity
Merge pull request #148 from wlabranche/refactor/minor-changes

Refactor/minor changes