organize Sequence.js a bit, use #pragma