add/remove input fields dynamically with javascript