Convert JSX compiler to Kal compiler