replace date.js with moment js and therefore adjust date format function in protlog