Fixing a bug in object.js fromJSON.
Fixing a bug in object.js fromJSON.

Yerhabe/js-schema,awei01/js-schema,molnarg/js-schema,awei01/js-schema,bradparks/js-schema,bradparks/js-schema,molnarg/js-schema,Yerhabe/js-schema