Using bluebird to simplify promise