1) Remove instance number data element if remove() is called so subsequent
initializations create a new object

2) If only one instance is on the page then the `if (instanceNumber)`
check does not behave as expected. Change to `!= null` instead