Alter this to event.target to fix issues when a user clicks on the restore link.

Modification made to replace this with the correct reference to the link clicked.
Merge pull request #57 from cojennin/revision_fix

Alter "this" to "e.target" to fix issue when a user clicks on the resto...