jQuery
if ($("#img").attr("src") == null) {
$("#img").attr("src", $("#img").attr("src"));
}
This stinks of jQuery. jQuery is an abomination. I've lost track of the number of times I've heard "I can reduce your n lines of javascript into q lines of jQuery" from someone who doesn't understand that jQuery involves pulling in about 2 hexatrillion 'lines' of javascript.
It makes me sad.
Now, get orf my lawn