use handsontable instead of jquery.sheet.

also fix a bug in importing JSON data.