added a survey javascript model and dao and added animation for when the survey is completed.