Return valid heatmap media URLs to d3.js