thisObjectis a scope object for calling a function passed as the first parameter forEach.
A few solutions that you can use in this case:
1) dijit.findWidgets, DOM node .
dijit.findWidgets , domnode
2) dojo.parser.parse , , dijit.parser.parse.
3) dijit.registry.filter , .