remove hardcoded path in main.js