simple jQuery save generator