jdrupal entity_index success function not called
According to its source code, success should be part of the options

options.success = function(result) {
    console.log(result);
}
entity_index('contact', query, options);