Add .length to !$el, replace break; with return false;