Reimplement jQuery .each using \ithis