makeng in work in IE - now works in IE10, more fixes needed for IE8.