<script type="text/javascript">
alert("<%= t('survey.answer_success')%>");
window.location.href = "<%= page_for_survey %>";
</script>