I do not have any examples to hand, I would need to create them, but I can explain how I went about it.
Due to the nature of Hype and the resource folder I found it time consuming creating the functions within Hype, so in the end I found the best solution is to use an external editor, I use PHPStorm.
Then I used HYPE own JS editor to call the functions as and when and copied any resulting code from the HTML into HYPE for display. I actually found this works really well, time wise. Together using both local and session storage and this style of building you can have a data driven site up in no time with the benefit of fantastic styling without the worry of css conflicts.