Added various todo.jsm features

how do i javascript.  
Some things may not be coded well, but I guess I haven't seen `calc.jsm` yet.
This looks confusing. How about something like:
```javascript
var filteredlist = list.filter(function (s) {
    return s.startsWith(e.args);
});
```