Excel-like JavaScript table resize