jQuery: fix relative paths if a site is installed in subdirectory