A small javascript library