Apache Cordova-based run tracker with ghosting and routes