A JS library of various functions