[JSC] Implement optimized WeakMap and WeakSet