[Tests] Ignore Wasm runtime errors in klib custom second stage test

Given tests were fixed recently, so we can't run them in custom
second stage test infra.
diff --git a/compiler/testData/codegen/box/exceptions/stacktraceWasm.kt b/compiler/testData/codegen/box/exceptions/stacktraceWasm.kt
index 86770eb..3cb1780 100644
--- a/compiler/testData/codegen/box/exceptions/stacktraceWasm.kt
+++ b/compiler/testData/codegen/box/exceptions/stacktraceWasm.kt
@@ -5,6 +5,8 @@
 // WASM_STANDALONE
 // ^^^ in non-standalone run, test classes will be placed in a sub-package, so `Throwable.toString()` would give different result
 
+// IGNORE_KLIB_RUNTIME_ERRORS_WITH_CUSTOM_SECOND_STAGE: Wasm-JS:2.4
+
 package a
 
 class MyException(message: String) : RuntimeException(message)
diff --git a/compiler/testData/codegen/box/initializers/static_smallIntIdentity.kt b/compiler/testData/codegen/box/initializers/static_smallIntIdentity.kt
index 5c5f8d3..f5e5526 100644
--- a/compiler/testData/codegen/box/initializers/static_smallIntIdentity.kt
+++ b/compiler/testData/codegen/box/initializers/static_smallIntIdentity.kt
@@ -1,5 +1,6 @@
 // KT-66088
 // IGNORE_BACKEND: JS_IR, JS_IR_ES6
+// IGNORE_KLIB_RUNTIME_ERRORS_WITH_CUSTOM_SECOND_STAGE: Wasm-JS:2.4
 // WITH_STDLIB
 
 import kotlin.test.*