Suppress jshint errors connecting with Promise.