Fixed bug in chat_sunny.js (scalar undefined)