Made commune and polling station observation summary pages reuse the same javascript functions as the browser feature on index page