Incidentally, I have been playing around with the concept myself (client work) and it turns out you can hack a semi-working solution in just a handful lines of js:
http://soquel.github.io/spreadsheet-in-js/