A JS lib for doing math for map tiles