Explanation for jQuery hiding