fixed an issue with nextpage in survey.js