JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://gist.github.com/raw/789582/timer.js"></script>
<script src="http://gist.github.com/raw/789582/silencer.js"></script>
JavaScript
/*
In this example mousemove is handled every 800ms,
and once ofter 100ms mouse is resting.
*/
$(window).mousemove(silencer(function(e) {
document.body.innerHTML = '<h1>x=' + e.pageX + ' y=' + e.pageY + '</h1>';
}, 800, 100));