makes onCTA use callback helpers

attempt to fix https://github.com/linkedin/hopscotch/issues/36
Merge pull request #42 from planio-gmbh/master

makes onCTA use callback helpers