 <p>What appeared to be happening in this case was that when the code was copied to a new part of the page the init() function was called again. Which then meant that two connections where in process.</p> <p>Therefore the fan box double populated itself.</p>