Modernize ES for-loops and remove problematic for-in loops

This slightly modifies the behaviour of errors (see init.js)

Change-Id: I1aab691d5b7e8167b6213378bdd9139c133202cd
diff --git a/Changes b/Changes
index 607cd2f..75dc6b0 100755
--- a/Changes
+++ b/Changes
@@ -1,4 +1,5 @@
-0.40 2020-10-07
+0.40 2020-10-09
+        - Modernize ES and fix in-loops.
 
 0.39 2020-10-07
         - Add information on secret file to Readme.