WIP: [client] Add checks against null when manipulating DOM nodes.
This MR ensures that when we access DOM nodes, they are non-null. This fixes 16 tsc
errors.
I didn't add a any action when the found DOM node is null, but this could be easily done: what should we do then ? Throw an error ? Just warn with a notify.error
? An alert ?