Adding empty function to clear the posts div when a new request is made.