Fix Ajax in fan and post search