replace dojoType attribute with data-dojo-type.