delegatef javascript logic to window.kinja.formattedTime

this file will be added to the repo later