A JavaScript parser for the NMEA GPS protocol