Simple inline javascript calculator.