A javascript code generator for proto files