I looked at this and the documentation says:

Important: Be careful when initializing properties that are objects or arrays. Due to the nature of prototype, you may run into unexpected “shared state” across instances of the same element. If you’re initializing an array or object, do it in ready() rather than directly on the prototype.

So I will move the array assignments to the ready method.