Added onReady callback function param
Merge pull request #1 from warlley/master

Added onReady callback function param