AI generated javascript

Here are two projects written 2002 in Java, translated in 2026 to Javascript.