Added global onerror handler.
Merge branch 'master' of github.com:shallem/LinkHTML5SDK