You could require it here: js/pay/pay.js that's sort of like the main file. This will be a lot cleaner/clearer in spartacus.