lol javascript is the worst