Update window-size.js

Should remove listener instead.
Merge pull request #4 from karlguillotte/patch-1

Update window-size.js