Extracted jsj-relative-time function