Fire the check function on beginning.

Fire the check function on beginning so events for visible elements are executed immediately.

Issue #25 is related to this.