Adding app context as 'this' for onload callbacks.
Merge pull request #47 from simonwex/master

Adding app context as 'this' for onload callbacks.