fix embind in ie11: ES5 does not provide a 'name' property on functions

Fixes https://github.com/kripken/emscripten/issues/2571, as far as I know.  (Bug doesn't have a full repro)