Added support for exporting to excel.  Need to move the JS into the margincalc.js file.