Could you change it to:
```js

if (layout.specificCssRule) {
   container.classList.add(keyboardName);
}