MobileSiteOS adaptation of Candy Chat chatting script