Add example of using ES6 promises