fix the find the head through jquery