fixed: modalrepeat in j25 gave js error