Add javascript to recalculate total value of cart