A technique for mimicking inheritance in JavaScript