0.8.6 update

Based on Frug's latest changes
https://github.com/Frug/AJAX-Chat