sequence->sequence() in js for #475