replace deprecated Ember.empty with Ember.isEmpty