illegal access bugfix

Android browsers ~2.3 (mostly used in hybrid mobile apps) throw illegal access exception on JSON.parse(null).