Mention Date serialization in javadocs related to JavaScript (#14143)

Change-Id: I14d782843684f623a2cf671f14d0ab062829ebac