My updated sample javascript calculator