Proto to JavaScript compiler