Moved invalidEmail to utility function and useing Ember.empty() also.