Create signals in plain JS
JS: focus on the first input with an error
JS: Check if an object is empty