fix the way that the fragility functions js gets the cvOfMean and cvOfSD vars
damage to loss ~ if there is no coeff then build specifict table
general syntax improvments