js to json data,not finished