javascript library containing functionality common to my projects