add rule js-loopfunc