Make path to phJS relative.