You have queryed the DOM for these images twice now, why don't you cache them in a var inside the start up method.