Partially implement list slicing in node backend