add prettytime.
add onclicklisnter.