In SkaterState.js added object pooling to prevent allocations, see #50