convert src to jsx