Hi Matt,It looks like you're using both legacy and AMD style DOJO. You should really try to write everything in AMD style syntax.Aside from that, the issue comes from the following line:
require(["//inetpub/wwwroot/lele3p.layers.ClusterLayer_new"], function(ClusterLayer){ //...
});
This is the incorrect way to load a specific module. DOJO's documentation should have more information on this.