debug version
debug pretty printed data.js
FIX date validation