Update javascript/formprocessing.js

Code cleanup, removed commented-out code.