fix for "ReferenceError: store is not defined" in pushMessage

1.x branch is broken for push. The error is "ReferenceError: store is not defined". It seems that the fix is simple.