It's around line 275 in bbUI.js (0.9.4)
This was fixed a while ago. It looks like the code was removed.
See issue #221
Added this to the 0.9.6 milestone
I'll also add an example of how you can use a template in a bbUI screen.
fix for issue #497
Just checked in the fix for this