Allow for writing the srcset attribute

Linked to https://github.com/mobify/mobifyjs/pull/295