title: Javascript Button onClick not working in Chrome extension popup
body: <p>(link to git: <a href="https://github.com/Boundarybreaker/NameBlock" rel="nofollow">https://github.com/Boundarybreaker/NameBlock</a>)</p>
  
  <p>I'm working on a text-replacement extension that can be toggled on and off with a button clicked in the <code>popup.html</code>, but it only is happening when I click the icon. (video: <a href="https://drive.google.com/file/d/0B_3pLT_KI8V8OHJFUHQ5a1JURkE/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0B_3pLT_KI8V8OHJFUHQ5a1JURkE/view?usp=sharing</a>)</p>
  
  <p>The code for the button reads <code>&lt;button class="ui fluid red button" onclick=toggleActive() id="toggle"&gt;Toggle Active&lt;/button&gt;</code>, and <code>toggleActive()</code> is a function in <code>background.js</code>, along with a listener <code>chrome.runtime.onMessage.addListener(toggleActive);</code>. How would I get the button to work properly?</p>