Issue #5829: tilemap jsdoc
Issue #5785: we chat change loop to setTimeout