Fixes #3 - Wait until page is loaded before injecting socket.io script.

Tested locally.

Add testing instructions to README.
Merge pull request #7 from vjpr/master

Fixes #3. Wait until page is loaded before injecting socket.io script.