FB24621

move html out of JS into html page. use on click instead of attaching
event listeners that never get destroyed.
Merge pull request #1 from aaraya1516/master

Avoid javascript memory leaks on web page