Reinstate the JS build. Using a cheeky patch that overwrites part of a dependency, we can get the memory usage down to something more reasonable. With this, there's no more reason to avoid building the JS extensions.