may it can be safer if we do

```js
container.insertBefore(check, container.firstChildElement)