Sets a data attribute to handle multiple calls for a checkbox

I'm using this in a SPA app that needs to "re-switcherize" checkbox when new objects get injected into the dom, or re-rendered.

I've added a simple setter & getter to handle this.