Add javascript to voting panel, modify tests to include javascript, html, and javascript/html hybrid voting