Bug 1022552 - Pressing home key or opening other apps will close client provision message directly.

See above. Since you're using this snippet twice why don't you make a function of it? E.g.:
```javascript
function cpsh_deleteMessage(messageTag) {
  ParsedMessage.delete(messageTag, ...);
}
```