Update main.js

Use less node separation.