script and templates set up in RoundView
moving input values out of calculate function and into an AJAX call