extractDisplayName = function (name) {
    var length = name.indexOf('(');
    return length !== -1 ? name.substr(0, length) : name;
}
Should be called to get display name of contract function

@method extractDisplayName
@param {String} name of function/event
@returns {String} display name for function/event eg. multiply(uint256) -> multiply