dynamically add input fields and submit to database with jquery