JavaScript library that allows for function overloading