Removed unused join() and processMultiLevelResults from connection.js