Updated runtracks api endpoint and front end javascript for maps