jsHint
Call of Promises simplified