use AMD dojo modules instead of global dojo.* stuff