Add getLatestVersion to catalog-remote.js