Fix main.js according to the new files path