edit text to json object & date to page load not server load