No-Library (pure JS), HTML, CSS, JavaScript
author(s): Torstein Hønsi
jQuery 1.9.1, HTML, CSS, JavaScript
HubSpot tether
jQuery 2.1.3, HTML, CSS, JavaScript
AngularJS 1.2.1, HTML, CSS, JavaScript
Based on the two answers at http://stackoverflow.com/questions/23072815/throttle-javascript-function-calls-but-with-queuing-dont-discard-calls
https://bugzilla.mozilla.org/show_bug.cgi?id=753662