We have fixed the reported issue from many of our reseller who using WHMCS. Kayako Messenger is now available on your WHMCS website. It seems that WHMCS templating engine does not accept minify version of JS. Hence, you need to un-minify the Messenger JS code using the online tool http://unminify.com/.
you only need to add the un-minify version in footer.tpl