Added a new button to the html since i accidentally removed Fredrik S's. Then i changed the javascript from append to prepend so that the button will show up below the inputfields.