Use proper Object.create-style inheritance in browsers.
Merge pull request #703 from domenic/inheritance

Use proper Object.create-style inheritance in browsers.