Refactored poll_view.js
Make poll to be compatible with bootstrap