 
 # Challenge related attributes
 tileUrl = "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
-tileAttrib = '© <a href="http://openstreetmap.org">OpenStreetMap</a> contributors'
+tileAttrib = '© <a href="http://openstreetmap.org">
+OpenStreetMap</a> contributors'
 
 # Task specific features
 currentChallenge = null

  mqurl = "http://open.mapquestapi.com/nominatim/v1/reverse?format=json&osm_type=#{type}@osm_id=#{id}"
  msgClose()
  request = $.ajax {url: mqurl}
  request.success (data) -> 
    locstr = nomToString(data.address)
    msg locstr
  request.fail(ajaxErrorHandler)

  near = "#{map.getCenter().lng}|#{map.getCenter().lat}" if not near
  url = "/api/c/challenges/#{challenge}/tasks?near=#{near}"
  request = $.ajax {url: url}
  request.success (data) ->
    currentTask = data.tasks[0]
    showTask(currentTask)
  request.fail (jqXHR, textStatus, errorThrown) ->
    ajaxErrorHandler(jqXHR, textStatus, errorThrown)

changeMapLayer = (layerUrl, layerAttrib = tileAttrib) ->
  ###
