fix relative js paths