Using Promises in Salesforce Lightning