Chat application with php and HTML5