Change attribute to getter
Wrap attributes with a getter method.
function() {
var a = thing.index < other.attribute;
var b = thing.index < other.attribute;
var c = thing.attribute < other.index;
var d = thing.attribute < other.index;
}
function() {
var a = thing.get('index') < other.get('attribute');
var b = thing.get('index') < other.get('attribute');
var c = thing.get('attribute') < other.get('index');
var d = thing.get('attribute') < other.get('index');
}