jQuery selector bug fix