Formatting changes in acceptform.js.
Cleanup of sendform.html to make it consistent with acceptform.html.
Started refactoring sendform.js