Well it seems like you’ve added less than 100 lines, I personally wouldn’t quite call that unwieldy quite yet.
But since you’ve created quite a few functions, you could extract those to their own file and keep main.js pretty lean. You’d just have to make sure you are passing all variables or objects you’re using as references, as moving them to a separate file will change their scope.