fixed web2py.js for trapped non-self-submitting forms, thanks Vinicius