port to node.js of my originally pythonic gpswebtrack project