Fixed compatibility issue with EmberJS 1.7.0

This fixes issue #3