Update calculator.js

Not working on Firefox : http://stackoverflow.com/questions/1359469/innertext-works-in-ie-but-not-in-firefox
Merge pull request #1 from chok/patch-1

Fixing issue with Firefox not supporting .innerText, falling back to .textContent whenever the innerText-property isn't present.