fix small syntax issue in chatLog.js model