Web Chat client for MODX Revolution using Dojo