Java: use ISO date string

ECMAScript defines a string interchange format for date-times based upon
a simplification of the ISO 8601 Extended Format. The format is as
follows: YYYY-MM-DDTHH:mm:ss.sssZ

Use this date string format to avoid javascript Date parse error when
this string is passed to the javascript callback.