Updated foresee-surveydef.js with regex to split www and www2