Use throttleFirst in place of window.