added onRender method
updated versions in various places
added minified versions
Merge pull request #104 from andrewpthorp/dev

Added `onRender` callback