synching some glitch fixes from uva: making KML js submit lang param