Add JSSerialOperator and unit test.
Refactoring JSBatchOperator