Create termination.js file with TargetFitness object