optimize indexize/blockaddrsize in emscripten.py
make function table emitting nicer