Made init callback more robust (changed name to on-init)
Merge pull request #2 from LeadSift/master

Made init callback more robust (changed name to on-init)