Vanilla - Common v 1.5.2 : debounce function ( Thanks to @DavidWalsh )