retweaked Jquery for dynamic form
added logic for adding params to the DB