test of concept for a javascript async-paginated buffer implemented as a ring buffer with both forward and reverse iterator