Nothing wrong with the way you’re doing it at all. I typically just put the HTMLHelper calls right there in my view that needs the JS. I’ve also seen people put the HTMLHelper calls in their handler and just set sendToHeader = true.
Aaron also has a post which shows how to modify the HTMLHelper plugin to store up the assets needed and then output them when and where you need them. Not too unlike what you’ve done, but he’s wrapped up the logic of persisting the list of assets inside the plugin a bit more.
ColdBox Platform Evangelist
Ortus Solutions, Corp