Fixed JS dates
Fixed print formatting