Fix js error screwing up marker.