add prettydate.js and test 3