Remove optional html tag attribute
Refactoring js/map.js