regen and jQuery