Added var to properly declare local variables so that they don't pollute the global namespace and risk multi-threading conflicts.
diff --git a/js/PublisherID.js b/js/PublisherID.js
index df4e701..cea6f83 100644
--- a/js/PublisherID.js
+++ b/js/PublisherID.js
@@ -75,7 +75,7 @@
 PublisherID.peek = function(/* XMLDecoder */ decoder) {
 
 		//Long
-		nextTag = decoder.peekStartElementAsLong();
+		var nextTag = decoder.peekStartElementAsLong();
 		
 		if (null == nextTag) {
 			// on end element