Scripts for managing prototypal inheritance in JavaScript without constructor functions and the new operator