[mms] Fix prototype.js issue in IE 9 regarding array iteration in a parent window.

Got lost when we upgraded prototype.js.  But this is an issue when a
window runs code in a parent (the native IE forEach handler does not
correctly set the value of 'this' in the called function).