Works on non-websocket environment refs #86

At non-websocket environment:

- Don't raise exception, when message is post
- Use a form POST to post message, instead of Ajax
fix typo and indent refs #86
Merge pull request #87 from codefirst/id/86

Works on non-websocket environment