These conditional operator is a bit confusing :-/ How about

    var manifest = this.manifest || this.config.manifest || (this.activityCaller ? this.activityCaller.manifest : null);