wrap Core/core.js by AMD