Add an edit form.
Replace spaces with tabs in the JS + HTML.