fix $.fn.wordLimit to support div