fix the problem of dojo.provide and move the variable declaration into the require body.
fix the problem of dojo.provide and move the variable declaration into the require body.

ibm-js/dapp,ibm-js/dapp