A javascript micro-framework