Yeah, you definitely don't need jQuery if you're doing it image for image. I did it this way so that I had a method to quickly pass settings on and generate the necessary effects on the fly.
i assume to read the data-values
You can use .getAttribute() for data values without the $.