You can remove handleEvent() if you remove the addEventListener('resize', this) above.