misc cleanup
Getting table prototype working.

Inspired by tables in
http://dmitrysoshnikov.com/ecmascript/javascript-the-core/