javascript sucks