Order of registerJs inclusions


I bumped into a small sequencing problem.

I’m using a TouchSpin input which is initialized last in the HTML file, just before the body tag.

I would like to register a piece of javascript code that must run AFTER the touch spins are initialized.

How can I do this?

I registered my script with POS_END, so indeed it appears just before the body tag, but I’d like it to be below some init code pushed by the touch spin widget.

Thanks for your help