fix jshint Promise issue