Replace $symname in generated function wrappers.
Bugfix for Javascript generator.
Disable testcase 'typemap_variables' for v8.

It uses output typemaps that are not compatible with the
v8 API.