callback method was not defined outside of options. plus, now it gives an console.log before it fails
remove extra log
Merge pull request #35 from eddietejeda/fixcallback

Callback method was not defined outside of options.