added js files for survey