Fixed: getRandomFruit was called without parameters in main.js