deposit: base version of form.html template

form.js copy-pasted to form_base.js