use fromNow to display time, and use g object to obtain global vars in ts.edit-article.coffee