replace 'undefined' conditioning with Ember.isNone()