Refactor window.resize handler to be unregistered
Refactor window.resize handler to be unregistered

katspaugh/wavesurfer.js,ale-grosselle/wavesurfer.js,katspaugh/wavesurfer.js,ale-grosselle/wavesurfer.js,agamemnus/wavesurfer.js,agamemnus/wavesurfer.js,ffxsam/wavesurfer.js,ffxsam/wavesurfer.js