implement timeago('update', 'datestr') function
refactor initializer function to support different named functions
refactor init to use single each loop like the other functions