Sticky/Fixed Header and Navigation for Debut Theme

I should add that I am also seeing the following error in my browser’s debugger:

$(window).on(“resize”, $.debounce(500, headerSize)); <<<<<<<<< [$.debounce is not a function.]

Is there some library I’m missing here? I’ve copied the code exactly.

Thank you!