improving selector performance on click nav-link
removing jhint errors on map.js