A simple JavaScript library with useful functions