Make jshint happy with Promise
1.2.1