chat application based on websockets and other html 5 features