refactored calculator view
refactored calculator view

* refactored jQuery
* send result to DB for logging
* refined view of controls

ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp,ministryofjustice/fr-staffapp