Added jQuery Attr method