:javascript
  var MOJ = MOJ || {};

  MOJ.ExpenseReasons = {
    "A": #{ExpenseType::REASON_SET_A.values.to_json},
    "B": #{ExpenseType::REASON_SET_B.values.to_json}
  };

- data = { A: ExpenseType::REASON_SET_A.values, B: ExpenseType::REASON_SET_B.values }
:javascript
  var MOJ = MOJ || {};

  MOJ.ExpenseReasons = #{data.to_json.html_safe}

Fix JSON escaping inside HAML/JS templates
Fix JSON escaping inside HAML/JS templates

More info here:
https://github.com/haml/haml/issues/940
