Full Vanilla version with debouncing

A non jquery version with added debouncing function to go easy on
resources