No, it's supposed to be query() and not dojo.query()