JavaScriptVM: regenerate extension wrappers, fix several compile errors