consolidate PollDetails.js