This line could better be:

    case badGeoPoint => JsError("Bad geo_point value: " + badGeoPoint.toString)