Changed websockets js to use current host.

Before the client file was connecting directly to 'localhost' as a hardcoded
location, but now it only assumes that you're running the server on the same
location at port 9001.

- nathyong
Merge branch 'master' of github.com:nathyong/not-terrible-maths