A simple JavaScript library of useful functions