Revver video link and Javascript

I am trying to include the Revver video player into my RoR website. I
inserted the Javascript into a partial, but the js freaks-out and will
not hold the formating together (although the video links work!).
Obviously I am a newbie. I am reading here that you should not
included js in the html viewers, but insert the js in a specific
place. So now the question… should I put the js in the suggested
folder and how to I reference it in my partial html view?

Best regards,

Kyle Laughlin