JavaScript: Prototypal Inheritance (ES5)