javascript is the worst, who thot it was a good idea to make a language that's just a mess of callbacks and browser quirks