Fetching fix: update main.js