We'll need to hold on to the calculator's initial value, so let's store it by coding var value = this.value;.
var value = this.value;
Make sure to type var value = this.value;.