make sure Ember is defined