improved destructing6.js and set.js; added map.js