Make rtty.py and mapview.js a bit less errorprone.