<% if current_path != '' && params['poll'] %>
<script>
updatePage('<%= root_path + current_path %>')
</script>
<% end %>