split app.js into several.js files