move payments.js out of the one-file folder