Ported from Google Maps Marker Clusterer example code but made to use requirejs and the r.js optimizer