Fixing a problem reported to happen in IE9

- "this" reference was at some point after the initialization of the script in htmlParser not pointing to "window" any longer