added a judgment of whether environment can restore Object#prototype.
Merge pull request #74 from nazomikan/patch-1

added a judgment of whether environment can restore Object#prototype.