move javascript to external file
change md data file to js
simple date parser
refactoring date parse method