errors are definitely coming from the require calls in survey.js