Fixed minor grammar and text related issues in index file.
Fixed JSLint issues with the file.
Fixed issue with message buffering where messages would never be delivered to the server from the client.
Introduced a skeleton of a namespace bound logging object.