[JavaScript][promise][tutorial] Using promises with "Q"