fix errors in jquery-handsontable