Reverse Polish Notation to JavaScript compiler