updated chat js, included user names and enhanced jade template