Fix ReferenceError: onerror is not defined
Merge pull request #35 from dstftw/patch-onerr

Fix ReferenceError: onerror is not defined