Fix linter warnings
Remove parseDate utility function

(Modern) JavaScript should be able to parse standard ISO date strings.