Make Javascript and image URL's work within sub folders