Removed $.fn.attr("value") usage