Spread sheet in JavaScript