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

Tested locally.

Add testing instructions to README.