Improve exec.js example
Add term.js example