add term.js to path list
beautify&jshint yet again
add process title