fix date header

- rename latest_report, latestReport to last_report, lastReport to match the var and function names already used and simplify
- parsing a date in JavaScript is `new Date(timestamp)` at least in Chrome (see `Date(1384451016000)` vs `new Date(1384451016000)`)