Fix up so decode polylines is browser capable