Use Object.create(null) instead of {} to create Object's that are used as maps.
Fixed harmless off-by-one error.