updated surveydate.js