@SW-User Yeah, I tried typing "jQuery" on the console to see if SW used it, and since it was there I said "cool" lol.
For sure there are far more elegant ways to write that code (I suppose JS/jQuery has a way to calculate the difference between two arrays without diung it manually like I did), but since the subject here was laziness, I didn't mind about searching the documentation lol