Make JS path relative.