notify user when push to device fails Fixes #593
named function expression -> anonymous function
maintain backwards compatibility with jsm
use parentheses around destructured assignment to outer scope
Merge pull request #630 from nickdesaulniers/pushFail

notify user when push to device fails Fixes #593