This can be included into the if(data.PostList.length) block, IMHO, it makes the code more readable