A javascript helper library