receipts: fall back to localStorage (bug 1021918)

@mstriemer r?
You could probably assign `receipts` directly here like `receipts = Array.prototype.slice.call(appSelf.receipts);` (probably worth copying it since we'll mutate it later).