Adding form element to output

Poppler takes care of almost everything, I simply added the form tags at the end of every page.
Could you explain the purpose of this js code? If we do need them, please do that in `share/pdf2htmlEX.js.in`.