Run function on changes to document
Run function on changes to document

Rather than running once on page load, this will fire whenever the document changes, i.e. when new content is loaded via ajax.

alextea/fizzbuzzfeed