:  function drawPoints(data) {     var img = document.getElementById('worldMap');     var canvas = document.getElementById('heatmap');     console.log("Image x: " + img.x)     console.log("Image y: " + img.y)     canvas.width = img.width;     canvas.height = img.height;     canvas.style.