Use Ember.typeOf instead of object.constructor.name to ensure compatability with IE