style(jqLite): use the common for loop code style