use registry instead of dijit