Simple client side calculator.