put convertor code in syntax.js file
refine lib.js file