add an "appendsubmitform" function into the util.js