Issue/451 data attribute instead of

Solves #451 by using a data attribute instead of id to identify images.
Do you think it's worth to make all this elements use the data attribute instead of id? like the image?
This way I could create a method named getNodeWithIdentifier(nodeType, identifier)? and use it on all of them.