first draft
implemented sendMessage
implemented handling of receiving messages
first working version
moved server.js into index.html to save one request
fixed trailing slash problem and formatted source code