add validation, create calculate button to address functionality issues in IE