I moved the Script portion to the startup.html file
Left the rest of the code in the Right Frame of the Visual Perspective, but it still doesn't work.
I'm sure I am missing something on this but I don't know what. I could send you a striped down BSV if you want.