"
//listen for custom variable change eventEmitterObj.addEventListener("v_visited", function(e) { var v_visited = 0 } }, "v_visited"); });