JavaScript: inheritance refactor
ECMAScript docs