Property Maps
var emptyMap = {};
In JavaScript, these are called Objects. I don't think it's right for them to be called "property maps" in a tutorial like this.The heading called "Objects" should be renamed something like "Constructors" too.
Also, using
for (var i in array)
is not the preferred way of iterating over an array (the for construct does not guarantee ordering).