Modified page and ctrl to use the same var for checking error state on
the runCheck call at load