fix: revert "refactor: favor directly modifying DOM attributes over setAttribute" (#614)
fix: revert "refactor: favor directly modifying DOM attributes over setAttribute" (#614)

This reverts part of commit 62c51dc09db1b8654011bdeff8b548fff0d2ca21.
imgix/drift,imgix/drift