Made relocatable

Hi, Sebastian, 

I made a few very minor modifications -- take a look and see if you agree.  The benefit of these is that it allows the static-file version to be served from a directory that is not at the root of a webserver.  For example, http://chrisbaloney.com/jqapi/.  I am not very familiar with your project, so I can't guarantee I didn't break anything.

Cheers!