Added an init callback function in options
Merge pull request #63 from evangun/functionInit

Added functionInit() for a custom callback to be fired on initial instantiation