I've removed an EventEmitter and just return the result of the findAllJoin call directly.
Also moved all vars to the top and removed some that were not used