Fix use of SERVER_URL constant in sendSurvey function.