JavaScript changes for relative/live time