move map.js into js dir