Fix table_value parser problem... improve the code generation to js