JavaScript engine fundamentals: optimizing prototypes
mathiasbynens.be