threading should work. Hook up code in touchroom with the ajax in map.