js is trash, who thought it was a good idea to make a language that can't even handle its own types, been debugging this crap all day and i'm about to lose it