illegal access bugfix

Android browsers ~2.3 (mostly used in hybrid mobile apps) throw illegal access exception on JSON.parse(null).
Merge pull request #1 from zsitro/master

illegal access bugfix