Clean up method in Ajax Controller