Added configuration option for JS callbacks
Merge pull request #8 from thefinn93/master

Add configuration option for JS callbacks