generate ajax methods for finder only if required