Fix bugs with timeago plugin