update: Updated IA Box clashes handling

* Using document.querySelector instead of jQuery

* A bit of janitoring