split main.js's