Again and again, please see:
http://sakryukov.org/freeware/calculator/[
^].
Pure JavaScript, only one file; see source code via View / Page Source. Million times simpler, just few lines of code, and millions time more functional: all kinds of expressions, anything JavaScript can do.
Who needs this…? well, see my comment to the question…
—SA