Fixed use of window var (IE Doesn't like it).

I made the site work in IE by getting rid of declaration of additional
windows vars.