Hi Andrei Fedosjeenko. Thank you for your comment.

Yes, it would be equally good to set a class on body or html tag.

For your other question: semantics. I prefer IMG tag in this case and only use background image as a working alternative. When the browser support gets better I will remove this JS hack and we will all live hapily ever after!