Update survey.js