remove static state by storing CharBufferPool on BRJS object