WebStorm annoyingly can't seem to indent promises correctly.  jshint didn't complaint, but I'll fix it.