added $.clone() and $.insertBefore()