Yet another tiny javascript lib