remove async from main.js