adding medium format to relativedates.js and refactoring a little
adding cleaner for liveblog relative date formatting