Added survey scripts to the js.