Class is reserved word in IE, fixed it
Added date format