Transform selector string into jQuery selector