Fixes a typo and event params.

The event being fired was using an undefined variable. Changed to 'this.result' instead.
Merge pull request #80 from kevinwestern/patch-1

Fixes a typo and event params.