ajax websocket

coworker still wants to use http lol.
Merge pull request #22 from Sequoia/patch-2

ajax websocket