Update window-size.js

Should remove listener instead.