```coffeescript
Ember.Handlebars.helper 'formattedTime', (time) ->
  new Handlebars.SafeString $.timeago(time)
```

Set timeago to current time if no time is given
user
```coffeescript
Ember.Handlebars.helper 'formattedTime', (time) ->
  time ||= new Date()
  new Handlebars.SafeString $.timeago(time)
```
assistant