fixed issue: javascript breaks when there is no lat/lng data in the single
case page