replace NoOpBatchlet with an inline javascript function.