fix bug in ResizeTable that get wrong cols and rows, fixed by get table cols and rows by $('#cols').val() and $('#rows').val()