Fixed invalid dates in example16 on Firefox, Safari, IE due to date parsing problem.
Robustness improvements against invalid data
Simplified the example