mod_base: fix js error in livevalidation.