maplist working using g'al plain js and timeout