changed Ember.empty to Ember.isEmpty