Call url refactoring

Hi,
I'm hoping to be using this wrapper soon and did some clean up on it.

I just factored out the .ajax call and ensured that it wouldn't crash if I used require to use it in my Node app.

I also fixed a tiny typo in the readme.

Jake