Fix more types in runtime.js.

There are still a number of tough type situations involving eval left over.