Change properties of DOM elements from a Webix view

Hi, is there an easy way to select and change properties of non-Webix elements in the DOM? Specifically, I’m trying to dim the screen (‘body’) if an error is encountered within one of my Webix views. Something like this:

export default class MyView extends JetView {
config() {…}
init() {
this.get_data = function () {
try { [load the data from server]}
catch() {
document.body(set backgroundColor=gray);
}
}}}