Bug 1027725 - Make calendar app async operations use promises
Use amd wrapper