#175 fixed the issue with multiple main.js