Javascript fix for timeago