Remove window listeners when scope is destroyed to fix memory leak
Merge pull request #11 from jedrichards/remove-listeners

Remove window listeners when scope is destroyed