If the selector is not found, this will throw a confusing array index error. Consider checking and throwing a more meaningful "could not find selector #blah on the page"