js is plain horrible: what programming language allows you to define the same function twice without complaining?