Global 'window' variable made local
Merge pull request #54 from uestla/patch-1

Global 'window' variable made local