new Array.add/remove methods, Map shim now provides forEach and keys for iteration, refactored older Map usages
for statements changed to reuse statements that contain the same value