This is a custom DynamicMapServiceLayer for Heatmap.js to work with the ArcGIS Javascript API.