create getURL so that telemetry.js can be used with node