fix relative js path