Prevent xhr exception, also fixes #43
Merge branch 'master' of https://github.com/dcodeIO/ProtoBuf.js