A simple chat script with PHP - JS