Try faking out the dojo loader into thinking it's getting a built layer.