loose instanceof: check constructor function name instead
types: replace Function.name with an IE compatible alternative
Merge pull request #289 from weilu/loose-instanceof

loose instanceof: check constructor function name instead