reformatted coordinates.js