js: Don't require data-full-src to be set

Fallback to image's src if the data attribute is missing.

Signed-off-by: Carl Helmertz <helmertz@gmail.com>