Small JavaScript library