use multiple files rather than one large main.js