Polyfill constructor.name for IE