   # Get the stats for the challenge and display the count of remaining
   # tasks
   ###
-  request = $.ajax {url:  "/api/c/challenges/#{challenge}/stats"}
+  request = $.ajax {url: "/api/c/challenges/#{challenge}/stats"}
   request.done (data) ->
     remaining = data.stats.total - data.stats.done
     $("#counter").text remaining

  ###
  for feature in features
    if feature.properties.selected is true
        selectedFeature = feature
      geojsonLayer.addData feature
    extent = getExtent(selectedFeature)
    map.fitBounds(extent)

  msg msgMovingOnToTheNextChallenge
  setDelay 1, msgClose()
  payload = {
    "action": action,
    "editor": editor}
  near = currentTask.center
  challenge = currentChallenge.id
  task_id = currentTask.id
