quick change
implemented ajax using json responses
added calculated values to rendered json in controller
Merge pull request #1 from judesamp/jeremy_working

Jeremy working