moved js to mapcoords.js