Meteor takes all your JS files and puts them in a single file, and the order is not something that you have a lot of control.
I think the problem is here: where are you calling the functions from? If they are self-made right away, you are right that order can be important. However, Meteor typically loads functions into the DOM and then runs them in response to some kind of event, such as Meteor.startup(callback) or Template.page.rendered(callback) . At run time in these examples, all of your JS files will be loaded, and your functions should be ready to work in any order.
If you are not trying to start them as soon as they are created, but later, it is worth checking in the browser console that you can see that all functions are present in the DOM after the page loads. Enter library_f and see what comes back.
source share