As the general comment, switch this to data attributes on some container div.