A simple library for modern browsers