Adding TODO to tie up plugin with window-based event listeners