tiny javascript library for modern browsers