@REMOVED unnecessary code

dojo has already a plugin for onload -> dojo/domReady!
if use AMD system (via method require), dijit modules are automatically cached. so, no need to use require({cache:{}});