Fixing relative link locations for second stage js load.