JS calc-it homework