bohman/placepeer — comment on commit ed895df72962c17eb4cbf157eb25969b2defc25c
File: ui.js line 20
By voxpelli:

I would suggest wrapping all of this code in an anonymous function so that all these variables doesn't leak into the rest of the webpage and potentially clash with any other script.

Just add this in the beginning of this file: (function () {
And this at the end: }());