support init callback
Merge pull request #1 from totorojs/init-callback

support init callback