#bug - firstChild

was checking if a <a> element had a firstChild <img> element, but that
was WRONG of me, becuse sometimes it's just a textNode. Changed to
"firstElementChild". better!