remove hardcode path in main.js