Multiple inheritance in JavaScript - well, sort of.