fixed js error for time load rule checking