change initialization methods so that alterations made to the element array during deactivation take effect on activation

IE, the this.elements list is updated each time it activates.