Some jshint; make promise fails catchable

Robustness++