Fix `basePath` in IE.
Add IE fallback for lack of `Function#name`.