Added moment.js service.
Refactored chat GUI.
 1) Added date string to chat messages
 2) Only load chat messages from current moment
 3) Added missing anonymous function names