* Improve JS API for SurfaceOrientation helper. Web developers should not be expected to call malloc on the emscripten heap. This new API is better aligned with how we handle vertex buffers. Fixes #2702. * Update web/filament-js/extensions.js Co-authored-by: Wojciech Czerniak <wojciech.czerniak@gmail.com> Co-authored-by: Wojciech Czerniak <wojciech.czerniak@gmail.com>