Smart default values lookup for data-url and data-image

Prefer hasOwnProperty over in operator