fixed timing issue in map js
Merge branch 'maint-rel-1.6' into develop