ajax on search by rating