use dojo/_base/lang for hitch function
use dojo/parser instead of global object
use dojo/Deferred instead of global object