Replace SequenceBuilder by ArrayList.
Fix testjs for removal of SequnceBuilder too