make sure the code is working well with dojo loader as well (this is not the plugin object in this case)