AMD implementation using RequireJS and DOJO