     remaining = data.total - data.done
     $("#counter").text remaining
 
-updateChallengeDetails = (challenge) ->
+updateChallenge = (challenge) ->
   ###
   # Use the current challenge metadata to fill in the web page
   ###

1###
# This file contains all the MapRoulette client/javascript code
###
root = exports ? this

  ###
  # Clear out some variables
  currentTask = null
  selectedFeature = null

  # Now display the message and move on to the next task
  msg msgMovingOnToTheNextChallenge, 1
