Updated terminal.js for basic auto completion.