/surveys API fix, plus fix for www form launch, closes #521