Change success callback and fix spelling issue
fixes #4
Merge pull request #12 from GoTally/issue4

Change success callback and fix spelling issue