Added jQuery Triggers when className changes so JS events can subscribe to this.

Added .each() before checkInViewport() so you can use className selectors and
not have all elements appear when the first match appears in the viewport