Example of how to use Promises in Mojito