This version is old school.
Please find jQuery plugins on npm.
onImpression
by Jason Ramsey
jQuery plugin to trigger a function when an element is displayed on screen.
jQuery plugin to trigger a function when an element is displayed on screen.