New view file polls_index.php, has poll form and all polls on same page. (Kept other view files for reference). Tested that everything still worked using this new view.
Changed a lot across all touched files to implement ajax function for creating and displaying new polls.
Fix typo in html string for displaying new poll, didn't close string on action attribute of form
Can now vote properly on a poll added to the page through AJAX