update pos.js and pos.jsp