Fixed bug caused by invalid jQuery selector