Update term.js

touch screen hack