Ensuring required attribute passed through via Dojo