Fire the check function on beginning.

Fire the check function on beginning so events for visible elements are executed immediately.