We should change set_timeout_with_handle() and set_interval_with_handle() to not take a Duration because technically for wasm targets we can't take anything larger than i32::MAX and Duration takes values up to a u128. This will prevent panics if Duration::as_millis() > i32::MAX.