JavaScript memory leak when using a function inside a forEach loop - Chrome, IE10 September 17, 2013 Javascript Memory +