extension api: support `name` on prototype

So extensions can work in IE
1.3.4