Correct all the non working stuff, on closest element in vanilla js. But it is working and maintaining a model.