mini cadre is a wrapper with useful javascript snippets