A simple javascript utility library