Small fixups.

Fixed a typo in the spec, and var usage in the reference implementation, plus some especially usage to replace `Object.create`.