Converted to synchronous code using new synchronous grunt-lib-amd